<template>
	<view class="body-view">
		<!--导航和状态栏-->
		<view class="state-navigation">
			<view class="slim_header_navigation d-flex a-center j-center" >
				<view class="left_box" @tap="goBack">
					<image src="/static/center/back.png" class="back"></image>
				</view>
				<view class="title">我的收货地址</view>
				<view class="right_box">
					<!-- <image src="/static/center/dian.png" class="dian"></image> -->
				</view>
			</view>
		</view>
		<!-- 顶部位置占位 -->
		<view style="height:calc(120rpx + var(--status-bar-height));"></view>
		<scroll-view :scroll-y="true" :enable-back-to-top="true" class="body-scroll">
			<view class="address-row d-flex a-center j-center">
				<view class="row-left d-flex a-center j-center">
					<view class="left-circle d-flex a-center j-center">张</view>
				</view>
				<view class="row-middle">
					<view class="row-middle-top">张三&nbsp;&nbsp;15029764366</view>
					<view class="row-middle-bottom">陕西省&nbsp;汉中市&nbsp;汉台区&nbsp;中饮国际666</view>
				</view>
				<view class="row-right d-flex a-center j-center">
					<i class="icon icon-bianji row-right-icon"></i>
				</view>
			</view>
		</scroll-view>
		<view class="bottom-btn">
			<tm-button
			    _style="margin: 0 auto;font-weight: 600;"
			    :width="690"
			    :height="80"
			    :shadow="-1"
			    round="5"
			    :linear-color="['#64F1C5', '#29DBA3']"
			    linear="left"
			    :fontSize="32"
			    fontColor="#ffffff"
			    label="添加收货地址"
			    @tap="goAddressListAdd"
			></tm-button>
		</view>
	</view>
</template>

<script setup lang="ts">
const goBack = () => {
	uni.navigateBack();
};
const goAddressListAdd = () => {
	uni.navigateTo({
	    url: `/pages/addressListAdd/addressListAdd`,
	});
}
</script>

<style lang="scss" scoped>
@import './addressList.scss';
</style>

